package pstube.gui;

import pstube.download.Download;
import pstube.gui.AppletGui;
import pstube.main.Main;

public class GUI {
	AppletGui ag;
	Main main;
	
	public GUI(Main m) {
		main = m;
		
		ag = new AppletGui(this);
		
	}
	
	public void addDownload(Download dl){
		main.addDownload(dl);
	}

	public void writeMsg(String string) {
		ag.writeMsg(string);		
	}
}
